package com.xhl.doeverything;

import com.xhl.doeverything.utils.ApplicationStartUtil;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@MapperScan("com.xhl.doeverything.**.dao")
@ComponentScan("com.xhl")
@EnableCaching
public class DoEverythingApplication {

    public static void main(String[] args) {
        ApplicationStartUtil.startBackendApplication(DoEverythingApplication.class, args);
    }
}
